package com.iie.bigVideo.service;

import com.iie.bigVideo.entity.Catalog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iie.bigVideo.entity.dto.CatalogDto;
import com.iie.bigVideo.vo.ResultVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author XXX
 * @since 2023-11-24
 */
public interface CatalogService extends IService<Catalog> {

    ResultVO<List<CatalogDto>> queryCatalog();

    ResultVO queryCatalogList(int current, int size);


    ResultVO addCatalogDirectory(Catalog catalog, MultipartFile imgFile);

    ResultVO updateCatalog(Catalog catalog, MultipartFile imgFile);


    ResultVO deleteCatalog(int catalogId);
}
